<?php

try {
    $downloadUri = "http://47.114.163.161:8087/yyaa.doc";
    $new_data = $new_data = file_get_contents($downloadUri);
    file_put_contents("E:/php_project/php_demo/file/02.txt", $new_data.PHP_EOL, LOCK_EX);
}catch (\Throwable $e){
    file_put_contents($_SERVER['DOCUMENT_ROOT'].'/onlyoffice_callback_debug_02.txt',$e->getMessage().PHP_EOL,FILE_APPEND);
}
